package com.zhuiyun.educations.api.sysroleback.service;

import com.zhuiyun.educations.api.sysroleback.entiy.SysRoleBack;
import com.zhuiyun.educations.util.pageUtil.PageRequest;
import com.zhuiyun.educations.util.pageUtil.PageResult;

public interface SysRoleBackService {
    /**
    * @Author MJL
    * @Description todo 角色表全查
    * @Date 2023/6/15 21:34
    * @Return  * @param null
    */
    PageResult SysRoleList(SysRoleBack sysRoleBack, PageRequest pageRequest);

    /**
    * @Author MJL
    * @Description todo 角色表添加
    * @Date 2023/6/16 14:21
    * @Return  * @param null
    */
    int SysRoleAdd(SysRoleBack sysRoleBack);

    /**
    * @Author MJL
    * @Description todo 角色表删除
    * @Date 2023/6/21 15:50
    * @Return  * @param null
    */
    int SysRoleUpdateDelete(Integer id);

    /**
    * @Author MJL
    * @Description todo 角色表修改
    * @Date 2023/6/21 16:05
    * @Return  * @param null
    */
    int SysRoleUpdate(SysRoleBack sysRoleBack);

    /**
    * @Author MJL
    * @Description todo 角色表分配权限
    * @Date 2023/6/23 17:31
    * @Return  * @param null
    */
    int SysRoleAssignment(SysRoleBack sysRoleBack);

}
